package com.bdqn.Ink;

import com.bdqn.entity.Ink;
import java.awt.Color;

/**
 * 彩色墨盒
 */
public class ColorInk implements Ink {
	// 打印采用彩色
	public String getColor(int red, int green, int blue){
		Color color = new Color(red, green, blue);
		return "#" + Integer.toHexString(color.getRGB()).substring(2);
	}
}
